getFileExt normalizes file path before processing