Refactored fetch method to use private method fetch_rows to read, process and transform CSV files