File class now handles opening and closing files
CSV uses File class for opening and closing files