Log a warning about an unknown file object type only if the file
actually exists