Initializes a new FileDriver that looks in the given path(s) for mapping documents and operates in the specified operating mode.
string|array $paths One or multiple paths where mapping documents can be found.:
string|null $fileExtension:
public function __construct($paths, $fileExtension = null) {
$this
->addPaths((array) $paths);
$this->fileExtension = $fileExtension;
}