using blocks file