Split the content of text files into multiple new files based on a user-provided delimiter.