Wannabe implementation of the split command