Added the long lost ```listFiles``` definitions
Thanks for the tips, @FishAutumn!