Update index.js

Remove call to push the file onto the current object. This will allow a glob to be processed.