I didn't know about that convention. As far as it goes, I added this because I was saving mask files as .mtx, and then readSimmat was failing because it assumed elements were 4 bytes.

Actually, since the .mtx format includes that 'B' vs. 'F' type character, do we really need separate readSimmat and readMask functions?