pub fn validate_filename( filename: &str, ) -> Result<(), Box<dyn Error + Send + Sync>>
Validate that a filename is safe and valid.
Returns an error if the filename: