Need to do a full set of test conditions for possible file and directory
mode (and whether they exist).   DON'T just look at the source.
