write function that fetches dropbox files and writes them to persistent filesystem