I don't think you can resolve remove path by calling File.getAbsolutePath().