Directory listing is enabled on a lot of web servers, and sometimes you can't disable it (it depends on your hosting provider). In our case, if someone wants to see the content of our module, he just has to write the path of the module in his browser.
In my case, the URL will be
http://localhost/prestashop/modules/mymodcarrier/. If I enter this URL, the browser will display the following screen: