diff --git a/aql2/src/prompt/Prompt.h b/aql2/src/prompt/Prompt.h
index 2fe4323ecac42e21ea9c811b476792d0fca12c30..909f89bd683707b33d1e6ba55301eafa68188e07 100644
--- a/aql2/src/prompt/Prompt.h
+++ b/aql2/src/prompt/Prompt.h
@@ -58,6 +58,10 @@ public:
 	cli::Environment & getEnvironment ( ) {
 		return m_environment;
 	}
+
+	const std::string & getHistoryFile ( ) const {
+		return m_history_file;
+	}
 };
 
 #endif /* _AQL_PROMPT_H_ */