Delete file implementation