This can be removed and getQueueFilename can be called directly.