wip on extracitng files and meta data