Since this creates/writes a factory file, rather than loading it, would something like 'copy_sample_factory' be a better name?