Removed File data structure, reverted to a global fd for opening files
etc.