add method to quickly test if file has a valid preamble and header (close #69)