override input_file as image