Add license, write text files in whole text blocks