adjusted with files created from read_open() instead of read_open_file()
added syncTimeStep to get the correct time step from f->current_step
minor change regarding gCurrentTimeStep