Add option for different input files and debug option.