docs: @PublicEvolving
  	@Deprecated
  	public <OUT> DataStreamSource<OUT> readFile(FileInputFormat<OUT> inputFormat,
  												String filePath,
  												FileProcessingMode watchType,
  												long interval,
  												FilePathFilter filter) {
  		inputFormat.setFilesFilter(filter);
  
  		TypeInformation<OUT> typeInformation;
  		try {
  			typeInformation = TypeExtractor.getInputFormatTypes(inputFormat);
  		} catch (Exception e) {
  			throw new InvalidProgramException("The type returned by the input format could not be " +
  					"automatically determined. Please specify the TypeInformation of the produced type " +
  					"explicitly by using the 'createInput(InputFormat, TypeInformation)' method instead.");
  		}
  		return readFile(inputFormat, filePath, watchType, interval, typeInformation);
  	}