Extract load cache file to reduce redundnt reading