Returns the filename associated with an image sequence.