ADDED:simple test data file;
CHANGED:applied the filter_url function using Python regexp module;