 	public init(format: String) {
 		self.format = format
 	}
+
 	public convenience init() {
 		self.init(format: "combined")
 	}

				}
				if let fileHandle = fileHandle {
					let _ = fileHandle.seekToEndOfFile()
					if let data = (content+"\n").data(using: String.Encoding.utf8) {
						fileHandle.write(data)
					}
				}

		return response
	}

	func convertDateToCLF(date: Date) -> String {
		let dateFormatter = DateFormatter()
		dateFormatter.dateFormat = "d/MMM/y:H:m:s Z"
		return dateFormatter.string(from: date)
	}

	func saveToFile(toFile: String, content: String) -> Bool {
		do {
			if fileManager.fileExists(atPath: toFile) == false {
				// create new file
				try (content + "\n").write(toFile: toFile, atomically: true, encoding: .utf8)
			} else {
				// append to file
				if fileHandle == nil {
