Pulled file reader into a superclass.