Program now saves file and adds contents to said file