I am new learner of javascript. I want to print the list of files in a directory and then print "completed" after listing all the files. Curretnly it is listing on