read links from file