Skip all tikz code preceding \begin{tikzpicture}

This is useful for images tikz files that are generated in standalone
mode (in my case, from R) -- which have \begin{document} markup.

As far as I can tell, there really shouldn't be any conflicts here since
a normal tikz file will always(?) contain \begin{tikzpicture anyways}
Re-enable *.tex in fileDialog