protect registerFile against '' as SE... to be ported to Datamanager