Created Divide Event file

Created a file to divide eventfiles from NLX_ReadEventFile and added
some error checking to NLX_ReadEventFile