check if linked_files is defined