Rename upload/catalog/model/affiliate.php to upload/catalog/model/affiliate/affiliate.php