browser file building code