pub fn tempfile( target_path: PathBuf, migrate_access: bool, ) -> Result<(Tempfile, BufWriter<File>), TempfileError>
Usage of Tempfile made easier: opens a file handle to the temporary file and hands it back, too