If you have the need to try to resume printing mid-print,

If you have the need to try to resume printing mid-print,
I wrote a simple perl script to get the portion of your gcode starting from Z level desired, helpful for large gcode files.
https://kevinleasemakerblog.wordpress.com/3d-printing-split-gcode-at-z/