File I/O testing