more tests for files and Option/Try idioms