add filename reporting to unrecognised token errors