End of Testing Write to file