Command line file sorter for xbmc written in node