moved binary data loader towards the end of the file, when everything has been already loaded