Parser removes extra lines and trims each line