pub fn build_curve(file: &mut File, output_filename: &str)
This function different types of curves such as term structure, volatility surface, etc.