using 'input' & 'output' folders