detailed report and writing to files