add something for file and network