Writing In File.Main Window...etc.