Adds new function and fit files