Allow the use of the module task with or without file extensions