implement loader file cache