Shifted dates now write to a file