Can you just call checkValidPath earlier?  I don't think we would need to actually create a customFolder since we already have the RootFolder