#FILE READ
#!/usr/bin/python
# Open a file
fo = open("sample.txt", "r")
content = fo.read()
print(content)
# Close opened file
fo.close()
print ("Name of the file: ", fo.name)
print ("Closed or not : ", fo.closed)
print ("Opening mode : ", fo.mode)