updated fileio