file parser ubuntu reads/write config properly now