parse file adds labels to top