add basic functionality to upload files