Const. mem should not be transfered after the first input file