modified code to consider files gruntfile.js and Gruntfile.js as valid filenames