Change the require to require relative
Created the task to process a directory