moving module_file from files to templates