refac: extracted raw/asset resource loading util