printing to a file the intermediary representation of the AST in the translation