add support of ^"file://" directive in contours