Complex sentence: Device files often provide simple interfaces to peripheral devices, such as printers and serial ports, but they can also be used to access specific resources on those devices, such as disk partitions.
Split into simpler sentences: Device files often provide simple interfaces to peripheral devices, such as printers and serial ports. But they can also be used to access specific resources on those devices, such as disk partitions.