Define new variable for input file and add following variables to other files, so that code compiles. Regtest was modified with correct paths.