pub fn validate_custom_format_file(input: &str) -> Result<(), String>
Validate custom format file content and extension