Changed listFiles call