Update fileio.cpp (now just tempoary code)