edit existing file