pub fn read_preview_file( repo_path: &str, preview_name: &str, path: &str) -> Result<FileInfo, ServiceError>