Handle buffered files