Reduce memory usage by storing the filename as string instead of individual tags.
This saves approximately 50MB of heap space.