Add block form of the file lock
Merge pull request #1046 from bkutil/add_block_form_of_locking

Add block form of the file lock