Write to a File - Output Method