'Remove a file or directory from this torrent definition
@param inpath Absolute name of file or directory on local filesystem,
as Unicode string.'

def remove_content(self, inpath):

    for d in self.input['files']:
        if (d['inpath'] == inpath):
            self.input['files'].remove(d)
            break
