added simple functions for uploader and downloader