<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save_to_npy_file(self, parameter_space, result_parsing_function, filename, runs):
 """ Save results to a numpy array file format. """

        np.save(filename, self.get_results_as_numpy_array(
            parameter_space, result_parsing_function, runs=runs))