Added function to get subjet from queue file an get subjects from all queues.