made file storing synchronous so that data stays in order by date
keep