use open builtin instead of FileHandle method