Add exception handling of invalid paths and paths without read permissions.

Show subdirectories in alphabetical order.