Added check to read dicom files
Added copyright and license header