This document describes a file conversion program used to optimize feed rates and reduce machining time for CNC machines. The program takes as input a tool path file generated from CAM software. It then calculates acceptable feed rates and other parameters required by the CNC machine. The output is a .kou file with the optimized parameters. The program aims to minimize machining time by avoiding having the cutting tool slow down to zero speed when changing directions or feed rates, and instead allows it to slow to an intermediate speed. This reduces unnecessary acceleration and deceleration time. The file conversion process and goals of optimizing feed rates and machining time are discussed.