FileBuilder refactory