Refactor process of saving/handling snippets and partial downloads