void (String moduleFilePath) { final File moduleFile = new File(moduleFilePath); if (moduleFile.exists()) { FileUtil.delete(moduleFile); } final VirtualFile file = LocalFileSystem.getInstance().findFileByIoFile(moduleFile); if (file != null) { file.refresh(false, false); } }