is it possible to use for(String fileName: fileNamesList) { ?