dest_file from nexus reworked