reads in file and strips metadata. non-dialog is empty lines