added Error and Macros.getFileInClassPath