[PATCH v3 2/4] util: Introduce read_file() and read_file_long() function