Implemented builtin function "file.(open|is-open|close)".