def do_rm(self, command):
        """rm <interface> <name>: removes file/dir 'name'."""
        fsi, name = self.parse_fs_command(command, nargs=1)
        if (fsi is None) or (name is None):
            return
        self.stdout.write("Removing... ")
        try:
            fsi.remove(name)
        except OperationFailure as e:
            self.stdout.write(Text("Error: {m}\n".format(m=e.message), "red"))
        else:
            self.stdout.write(Text("Done", "green"))
            self.stdout.write(".\n")
rm <interface> <name>: removes file/dir 'name'.
bin/mc.py