fixed combine mode of reading text and binary data from file for BOINC