Debugged wildcard globbing and added 'list' command to test it.