Added support for parsing files in the macros