fixed bug with contour file names resolving recursively