pub async fn run_file_operation<F, R>(operation: F) -> Result<R>where F: FnOnce() -> Result<R> + Send + 'static, R: Send + 'static,
Run a potentially blocking file operation in a background thread