Fixing getFilesInDir