Before Bluetooth was invented, some computers, personal digital assistants, and mobile phones used infrared technology to send files to other devices. Bluetooth replaced infrared in the early 2000s. Infrared is limited by the need to have both devices in a "line of sight" with each other.