replaced all dos newlines with unix newlines
fixed bug with passing closure to FailedModelFilterException