# create an instance of the built-in file class decl file f # call the file.open method f.open "filename.txt"