Changed behavior for the txt files. Now the pages will not be separated into separate files. All the pages will be written in a single file, each page being on a single line.