added file deletion to CoursedetailsController