Applications of RPA in legal firms