Added a bit of error handling to NLX_DivideEventFile