Added support for uploading and downloading files