Cleaning the code associated with parsing ifo file