File..Root.FileConstructs new File. File provides basic read and write operations on files.
FileFile type signatures:Object, File
NativeCallable, Callable, Class
import("file");
auto f.=(File());
f.open("a.txt");
f.clear();
f.write("Mad scientist.");
if (f.read().==("Mad").&&(f.readAll().==("Mad scientist.")), {
log("Ok");
}, {
log("Error");
})