We try reading the same file using different methods so only emit a warning if we successfully read the file.