more helpful error message when missing private files