(a) Whenever any person is sentenced to the Department of Correction, it shall be the duty of the court before which he or she has been convicted to cause to be made and transmitted to the agent of the department a short report of the circumstances attending the offense, particularly those which tended to aggravate or extenuate the offense.
(b) The agent shall file and preserve the report.