move getFilenamesInFolder() from: