shl: add shl_read_file() helper