File upload behavior for Yii Framework