base-files: functions: introduce new helper functions