Function to split files

Splits files collected from 2-fly experiments into single files that
each contain data from fly 1 (bottom)  or fly 2 (top).
Merge branch 'master' of https://github.com/wadelab/flyCode