clean api. remove getFileNetAddresses and getFileHosts