Create FileTypeFinder helper class

Typed from memory online, so there are likely bugs in this version.