passing filename to viewer with get