test program for multiple files