good morning!!!!
* Changed dumpConfig function to optionally save to file * Added O_TRUNC flag to file open and cleaned up code