Add download and upload functionalities