Consider to merge this case to the previous one, so that we can test the whole file transfer scenario.