add file / line to error messages
use basename