get_concepts_data function

Internal function to get concepts data from external files