added FileInputReader
changed TextFileInputReader to extend FileInputReader