FIXED: Use mutex for storing URLs to file.