Added methods to replace and delete local files via FileInfoWrapper