Mark loaded files with external_resource