Removed unnecessary file reference
Example opening the class and writing a file at end of main