first changes to parse files form the original laby