void removeTextFile(String name)

Source

void removeTextFile(String name) {
  _removeResource("TextFile", name);
}