Simple routine for extract URLs from given text files