add file and remove file