Nanomagnetism variation with fluorine content in Co(OH)F