Content based file splitter and joiner