test file under a contents