updates for file IO routines