Use an SD Card

Check in the examples section of the IDE. You will find the basic SD stuff, and see that it uses the SPI bus i.e. it can share with other devices.