pub fn check_file(path: &Path, config: &FormatConfig) -> Result<bool, String>
Check if a file is formatted