Changing call to datastore to pass in 'days' file