filestore returning with promises