created random color if else file