Use when no extra payload is needed.
Strip the filename with the regexp or if that fails use the input filename as is.
Includes intended for the test double.
See Source File
Joakim Brännström (joakim.brannstrom@gmx.com)
This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
MPL-2
Copyright (c) 2015-2017, Joakim Brännström. All rights reserved.