Create WriteConfigDetailsToFile.c

Function which will write configuration details from the file.