I need to check for a directory, not a file..