Added queuing for sub-files