Added function to less if a file, otherwise do ls.
Moved language exports to .exports.