[quarters study] Check data source when returning files generated.