Revert "webtest doesn't need actual filenames"

This reverts commit 41cf922304d8713dcb26c53e9036eba86539da94.
use fieldname if filename not available