tikz has various other commands that load files, like \path plot file{...}, or its external library (so graphics elements need only be processed once), \pgfdeclareimage, \pgfimage, \pgfplotxyfile, just to name a few of them.