Add read code from file and parsing throug loop