Valid foldername check