Made check_file_fmt() a private function.
Change 'check_file_fmt()' to '_check_file_fmt()' (follows commit 1819d2b).
Initial commit.
Add more requirements.