def FindFileByName(self, name):
return self._file_desc_protos_by_file[name]<EOL>
Finds the file descriptor proto by file name.

        Typically the file name is a relative path ending to a .proto file. The
        proto with the given name will have to have been added to this database
        using the Add method or else an error will be raised.

        Args:
          name: The file name to find.

        Returns:
          The file descriptor proto matching the name.

        Raises:
          KeyError if no file by the given name was added.