rm and add file