testfile created, main method