Updated isEmpty() to only check for files
More awesome stuff around subdirs, logging, etc.