debugged file io