pub fn validate_format<P: AsRef<Path>>( path: P, format: DataFormat, ) -> Result<bool>
Validate a file against a specific format