Added function to read links from file (v6.0)