In processing some Directory structure if particular directory has no execute permission for the user, some calls in the File class fails silently giving no clue what could be the problem.
boolean canExecute() in line with canRead(), canWrite() will help one to do the sanity check.
boolean canExecute() in line with canRead(), canWrite() will help one to do the sanity check.