added option for splitting haps files