get files from nexus and write them to the target