Fixed schedule delete file bug