pub fn parse_file_by_format( file_path: &Path, format: &FileFormat, ) -> Result<Vec<f64>, BenfError>
Parse file based on detected format