fixed problem with MPI file deletion