refactored br_iterate_utemplates_file
introduced br_log
tweaked read_buffer error messages