error thrown for reserved keywords, and file stats