Create the macro file