added output of fit results to text file
update
added files
macro to loop over all measurements and produce fit results