public BufferedReader getRemoteFile(String filename) throws IOException {
   String filePath = this.remotePath + filename;
   try {
     DropboxInputStream is = dropboxApi.getFileStream(filePath, null);
     BufferedReader fileReader = new BufferedReader(new InputStreamReader(is));
     return fileReader;
   } catch (DropboxUnlinkedException e) {
     throw new IOException("Dropbox Authentication Failed, re-run setup wizard");
   } catch (DropboxException e) {
     throw new IOException("Fetching " + filename + ": " + e.toString());
   }
 }