Set file details in ContentActivity
Fixed nullptr because of CourseParser

Boolean value hasFiles not set for false case.