rename get_local_resource to open_local_resource