Changed fieldname parameter to const in readFieldInto