Finished engine-line equations and file write op