Test whether input_files is a str