File sending and downloading

Fixes #2