Another update to improve virtual resource file handling