test with a file