add remote file diff and directory comparison