bugfix of direct access logic over WAN (only first file was considered for remote read)
bugfix of direct access logic over WAN (only first file was considered for remote read)

PanDAWMS/pilot,anisyonk/pilot,PanDAWMS/pilot,mlassnig/pilot,mlassnig/pilot,anisyonk/pilot