Preperations for select file tab, still needs to adapted for right document type and/or batch class