File uploading code upgrades for machines.