Add texts to file.