The file work is done before the steel is hardened, i.e. before heat treatment, while the steel is in its annealed state.