the resource handling in FileHandle is now automatic