handle saving existing file properties correctly