- delete files that are only partially transferred
- better exception handling and throwing