problem 8: started working on file input reader