better error on missing input files, fixes #1930