modfile.delete() — delete a file

delete(file)
This command deletes the named file.