Add: various improvements to the handling of virtual files, archive files and single file deployment.