adapt zeropoint reading to Arjun's new files; add extinction to outputs; add brick number to output files