added str type to input file.