1. check if input_folder exists.
2. make output dir.