That wouldn't exactly work because sometimes a directory truly may be empty, in which case I want to know that. I am wanting it to print "Error" when there is a problem accessing the files (because of permissions, file is open, etc.). I hope this is a little clearer.