131210 #2

Edited listDirectory() to fit Mac