Come si fa a cancellare un file dal server?

e che cos'è la funzione void delete (filepath as string ) che non sono mica riuscito a usare?