def open(self, path, mode='r', *args, **kwargs):
        """Proxy to function `open` with path to the current file."""
        return open(os.path.join(os.path.dirname(self.path), path),
                    mode=mode, *args, **kwargs)