Allow ".module" in the file path like "index.module.js"