public static ArrayList<CloudQueue> getListOfQueues(String prefix) {
		ArrayList<CloudQueue> queues = new ArrayList<CloudQueue>();
		try
		{
		    // Retrieve storage account from connection-string.
		    CloudStorageAccount storageAccount =
		        CloudStorageAccount.parse(storageConnectionString);

		    // Create the queue client.
		    CloudQueueClient queueClient =
		        storageAccount.createCloudQueueClient();

		    // Loop through the collection of queues.
		    for (CloudQueue queue : queueClient.listQueues(prefix))
		    {
		        // Output each queue name.
		        System.out.println(queue.getName());
		        queues.add(queue);
		    }
		}
		catch (Exception e)
		{
		    // Output the stack trace.
		    e.printStackTrace();
		}
		return queues;
	}