Added csv reader and writer methods to be used later