kept file I/O checks at the end of the function BEAGLE_divide, but removed various other checks within the function after testing