In contrast to a `with` block this does not guarantee that the file resource is closed after reading it. But as this is just a test, we can ignore that :)