Option to auto detect of input file format is added