Download binary file, gen_provenance_metadata