feat: implement file format detection for when the user gives the wrong type
when a filelist.psv/.tsv/.csv is opened but declared to be a different type, we want immediate
detection in validate() so that the user get asked again for a different file format.
Fixes #8