restore classes merge with fix of foreach processing
use VirtualFile.nameSequence for isProjectOrWorkspaceFile check