change test program to print all files in root directory