added example with input folder