Load file button doesn´t work when exporting pdf