checking if the folder name is too large