pass 0600 to open()
use bool where bool is meant