Added function to search file(s) for class/def lines.
Probably should come up with a better name.