reading a file in python,f.close()