regex based file format determination, defered creation of bufio reader
Merge pull request #54 from jaredwilkening/master

Regex file format checking