check the flash doc for working with external data

hope it helps