created functions to parse cvs file instead of calling linux functions