added testfile, and may have added parsing