I cannot load a checkbox value from a file and have it correctly check the checkbox when the value is 1.
With the code below you can check a box and save it to a file