added image_handler-class to read all the input filenames