Allowing directory names to pass with a warning.