don't print file not supported warning for directories