First of all, "starter terminate_file" should be replaced with

function terminate_file_startup()