widgets handler fix so that it would handle file includes also