Convert LocalFile to using getWithSetCallback() for caching