[PATCH v6 2/4] util: Introduce read_file() and read_file_integer() function