saves meta data in files