Updated code to split and move to destination directory
Merge pull request #59 from phillip-haydon/Issue#58

Updated code to split and move to destination directory