Code for fileblocks