Add check for correct file of meta data extraction