addded preview file supportfor properties files. need to figure out xml.