Added exception checking to FileBlock