code: def discover_file_plugins(
      plugins_filename: str = LOCAL_PLUGINS_FILENAME,
  ) -> Iterable[str]:
      """
      Returns an iterable of the plugins found, declared within a file whose path is `plugins_filename`.
      """
      with open(plugins_filename) as file_:
          for module_name in file_.readlines():
              module_name = module_name.strip()
              if module_name:
                  yield module_name
  
file_path: allennlp/allennlp/common/plugins.py
imports: import importlib
  import logging
  import os
  from pathlib import Path
  import sys
  from typing import Iterable, Set
  from allennlp.common.util import push_python_path, import_module_and_submodules
label_desc: Use image node_id 1 for calling a global function with example usage: discover_file_plugins(plugins_filename) without return types