pub fn format_file<P: AsRef<Path>>(file_path: P, write: bool) -> Result<bool>
Format a file with the appropriate formatter