rabi.cpp (added the inputfile parser)