Sprite file reader now uses regex.