allow arg "file" on file() to be an array
add unit test example