Takes sqlite queries results stored in files, transforms data into table format.