add delete file function in run.py