changed some file names, rewrote parts of bulk_get_status_phase and bulk_xml_to_json
removed temp file