updated file in exception catch when ipath defined