add FileSlice class to cbayes_gui.py