#63: Implemented file rotation for a single file