new style for 2.7
use file_line instead of line
override correct resource