Added verify for empty filename or folder name. Removing white spaces
from file-folder names