adds fixed windows file regex, and adds option for alternate encoding