delete file when moving