basic implementation for fetching file blobs

implement fetch_file():
 fetch_file() function can now be used to download files and binaries