now using RuntimeException instead of FileSystemException and HistoryException