added external resource for file and file_line.