improved error messages in _resolve_inputs() for when the file does not exist and we do string match to test file types