String getHandleFileResult(final AndroidDevice aDevice, SubType subType,
			String localFile, String remoteFile) {

		try {
			switch (subType) {
			case PULL:
				aDevice.getDevice().pullFile(remoteFile, localFile);
				break;
			case PUSH:
				aDevice.getDevice().pushFile(localFile, remoteFile);
				break;
			default:
				break;
			}
		} catch (SyncException | IOException | AdbCommandRejectedException
				| TimeoutException e) {
			e.printStackTrace();

			return "Command failed:" + e.getLocalizedMessage();
		}

		return "Command success";
	}