write file after concat modules