import json


def write_json_file(file_name, write_json):
	""" Write JSON to a file: """

	print("\t-I- Writing file for:", str(file_name))
	
	with open(file_name, 'w') as json_file:
		json_file.write(json.dumps(write_json, sort_keys=True, indent=4))

	return True