Fixed file deletion for gcode files