As with many spices, file powder will last for a couple of years if kept in an airtight container out of direct sunlight. Over time its flavor intensity will decrease.