Fix for HistoryFileCreation