remove file and add new file