adds filename to parser error (closes #92)