fileUserRecord, better error handling methods and callers