Revert "Revert "tạo file extends""

This reverts commit de946b9276ce4c04121c91eba6217c533391cead.