Updated changes to File IO

These changes consider opening and closing one file, archieve.txt