Sucessfully writing config information to file with fs