Preferably, the type of the data source is determined automatically based on characteristics such as the names (or ???extensions???) of the files and/or directories, the number, size and structure of the files, header or other information in the files.