Setting file logic change