adding some error handling around file opening and parsing json in create_cluster_from_json