added getURLsFromFile method