recursive linting inside ./lib & moved getMediaFiles() to files.js