Added [filename] to error message.
Fixed fest.compile() compatibility.