Remove AFDSf-x.x.x-ffoo.jar from the path when we get current path of file