How to recover my files?

Try to delete the following workspace folder:

macOS:
~/Library/Application Support/name.abuchen.portfolio.product/workspace

Windows:
%LOCALAPPDATA%\PortfolioPerformance\workspace

Linux:
~/.PortfolioPerformance/workspace