Added listFiles method without depth as argument