build test cases as input, such as reading file name and file for a linked list