private DataKind dataKind;
public FileDescriptor(String filePath, FileType fileType, DataKind dataKind) {
this.fileType = fileType;
this.dataKind = dataKind;
BaseFile file = new BaseFile(filePath);
this.filePath = file.getAbsolutePath();
this.fileExtension = file.getExtension();
if(this.fileExtension.isEmpty()) {
this.fileExtension = fileType.getExt();
if(this.filePath.endsWith(".")) {
this.filePath = this.filePath.substring(0, this.filePath.length() - 1);
}