close filereader