refactor block parser to use filtered file parser