Source/Test folder detection; import's listing and grouping