added file parser with parent ids