added access to $csv from filters