updates for file io