file split

was actually starting to refactor that monster function


I think it would be a lot better (far easier to test, maintain, extend) if our functions worked on strings instead of whole buffers.