parse only relevant stuff of input files