file increment in synchronous mode