Just Place the file which need to be organized in the playGround folder , then after running the script an folder named organized will be created containg files in there respectively named folders
In the terniminal simply type "node Fo.js help"
node Fo.js <-tree/organize/help--/> '<--path to the dir whose files need to be organized--/>'