Fixing file intersect script