- added a macro to get the name of the created files