save to the downloads directory
document entry point