Seperate parsing functions so they can be reused for other diff utilities Change-Id: I1ea6ebf90ded128eec116cc1f326a28bdda2fb77
Change-Id: I476f43ea513e7c140f4e4f14df73dd3131cb2692