added default values for input file and width constant