Here's a picture of the foam I use to hold my flies, I made an old wooden box into a storage box for new flies.
This is some kind of ribbed insulation from Home Depot, comes in 50ft rolls for about $5. It's about 6" wide. Works great.