add file length into signature