Add text write to file