parser working with example in files