add support for loading binary data