Update fitting.R

Hi Sophie. Suggested change to add an option to specify the output file, useful if running on multiple files from the same directory. Otherwise the AIC is not available.