test file rotate, done