Takes a giant sentences file and builds document files.