clean up filereader