:- use_module(library(persistency)).
close
flush
none
If File is already attached this operation may change the sync behaviour.
sync