File IO lab 1