import pkg_resources


def package_filename(name: str) -> str:
    """Get fullpath of a package filename specified by the base filename.

    Args:
      name: base name of the package file

    Returns:
      Fullpath of the package file
    """
    return pkg_resources.resource_filename('line_item_manager',
                                           f'conf.d/{name}')