def load_binary(load):
    """Load binary data from static directory.

    Example:

    .. code-block:: python

        def test_something(load_binary):
            bytes_data = load_binary('data.bin')
    """

    def _load_binary(filename):
        return load(filename, 'rb', encoding=None)

    return _load_binary