Simplify reuse of cached data

Allow for load_cache to be called with an optional second parameter specifying the file in which to store the fetched data