class method from_file in rir parser
rename method