reformat file
Format table
Reformat table into list