reading files in table format