private void printHistory(boolean isSuccessful) {
			try (Writer out = new OutputStreamWriter(dataOutput, "UTF8")) {

				if (isSuccessful) {
					downloadHistory.append("Files were loaded \n");
				} else {
					downloadHistory.append("Error in downloading files \n");
				}
				out.write(downloadHistory.toString());
			} catch (UnsupportedEncodingException e) {
				e.printStackTrace();
			} catch (IOException e) {
				e.printStackTrace();
			}

		}