FileIO

Updated fileIO to be compatible with all files