Functions to read and write um files and to redate ancils and dumps