fail earlier if one of files does not exist

Closes #6