Infosys Technologies , the country 's second-largest outsourcing firm after Tata Consultancy Services , discovered how popular India had become as an internship destination for Americans when the company began recruiting : for the 40 intern spots at its Bangalore headquarters , the company received 9,000 applications .