Using RegEx to parse file.