Not barfing when input is a directory.

Just logging a warning and skipping.