Added ability for getting files from file listing in random order