set formula_file path correctly when initializing a formula