rename path to targetFile