prepare file for new code