input is a pure filename, path is stripped away

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>