Fixed save to file bug

Added the divide by first area peak to the writing of the file