File Saving Changes

Made some changes to the way it saves files.