Removed calling print on optimize output file