In reply to saritr:
I think, SV does not have any system function to read a file with Mixed data type values.(e.g. int, hex, hex).
If you consider implementing file with only Hex or Binary values, then these are the functions.
$readmemb("file", variable_array[]); // To read binary values from file
$readmemh("file", variable_array[]); // To read hex values from file