Reads a file and splits its content into fragments.
Path to the text file.
Maximum length of each fragment.
Reads a file and splits its content into fragments.