I have the following code:
files_to_upload = []
for file_name in ignore_list:
for file_path in files_not_in_Azure:
if file_name in file_path:
files_to_upload.append(file_path)
How can this be written in one line using a list comprehension?