labs for File IO