Testing file IO.