set block in a single file