moved getFilesFromFolder directly into package.js