add comments on parsing input file