File IO

Modifications to FileIO.cpp