renamed get_resource_string to get_resource_content