Cleaned imports and added file reading func

Uses some Buffered Reader to read the contents of the file. It remains
to be seen whether or not this is the most efficient way to "grep" the
contents of a file but it sure is an obvious one. Can be refactored into
something better later.