Added error handling for bad path, and completion confirmation