The routine gCloseDrawingFiles() flushes internal buffers and closes all previously opened files used by the routines gGetDrawing() or gGetPicture().
This routine is required when using the same file unit to read different metafiles and should be called before any use of a compiler I/O close routine or gFclose().