LPS-41907  Wrong var name
LPS-37352 Make method public (no logic changes)
LPS-37352 New method to validate directory names consistent with fileNames
LPS-37352 make validation of folders consistent with validation of files
LPS-37352 javadocs
LPS-37352 Test
LPS-37352 SF