Create Write to file