"Lastly, file is a built in type, so it is not a good idea to use it as a variable name." . . . .