Added functions to read queue, find queueid, get queueid file and usage.