Implement FileReader.