Refactored CSV and TXT Parsers into one