Save file as well as storing it in git repo.
Round long floats to 4 decimal places when printing