Refactoring Code to support  File Block Read