Perl script to start parsing data logs into .csv files