You don't have to create a module, just save the code in the root of the eshop and insert your CSV file in the same location.
If you put the file in another location, you need to change the path to config.inc.php and $csvFile.
Of course, from a security point of view, you can add your own token and read from the url using the $_GET method.