Rename buffer to buffer.txt