Adding fix for really long file names that windows cant handle for goodness of fit plots