put everything into function, parsed CSV report returned by amazon