implement importManager->detectFileType