Selectively download files using python