Use glob.sync function