Returns the path of a file installed along the package

def pkg_data_filename(resource_name, filename=None):
    """Returns the path of a file installed along the package
    """
    resource_filename = pkg_resources.resource_filename(
        tripleohelper.__name__,
        resource_name
    )
    if filename is not None:
        resource_filename = os.path.join(resource_filename, filename)
    return resource_filename