re-add file after modifying