load cached file with respect to dependency