Small bug fix

Added path generalization to DeleteFile