Distinc a same file name of buffer.