[RFR] move functions to module scope
[RFR] allow to get any binary field's extension
[ADD] allow previewing binary fields