using cp.get_url instead of cp.get_file int tomcat module