pub fn validate_file_exists_with_size<P: AsRef<Path>>( path: P, expected_size: Option<u64>, ) -> Result<bool>
Check if a file exists and has the expected size