# Cannot plot from files anymore after re-installing Miktex

I have recently re-installed Miktex and I cannot plot form a file anymore that compiled before re-installing it. The following code

\documentclass{article}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
\draw plot file{line.dat};
\end{tikzpicture}
\end{document}


produces the error message "File ended while scanning use of \pgf@parsexyline.\par". The file line.dat contains 2 lines

0.5660 0.6968
1.0000 0.6968


and no invisible characters. I checked that the --enable-write18 is added to the pdflatex command in TeXmaker and that the installation path of GNUplot is added to the PATH variable. I am at a complete loss because this example is so minimal, yet it still doesn't work.