close resources; delete unused code
close resources; delete unused code

AdaptiveApplications/carnegie,AdaptiveApplications/carnegie,AdaptiveApplications/carnegie,AdaptiveApplications/carnegie,AdaptiveApplications/carnegie,AdaptiveApplications/carnegie,AdaptiveApplications/carnegie