Build optimise file