@_pathdec<EOL><INDENT>def release(self, tid, fh):<DEDENT>
try:<EOL><INDENT>try:<EOL><INDENT>self.fds[fh].unregisterHandler(fh)<EOL><DEDENT>except AttributeError:<EOL><INDENT>pass<EOL><DEDENT>del self.fds[fh]<EOL><DEDENT>except KeyError:<EOL><INDENT>raise FuseOSError(errno.EBADF)<EOL><DEDENT>return <NUM_LIT:0><EOL>
Close file. Descriptor is removed from ``self.fds``.

Parameters
----------
tid : str
    Path to file. Ignored.
fh : int
    File descriptor to release.