How exactly have you "promoted" the file from your dev to stage? If you are using Web application then you actually need to rebuild the solution in your stage environment to see new files. I'm assuming that this is most probably your case because if you would use web site project then you would just need to copy the file to App_Code folder (or custom class library project which is referenced by CMS or uses AssemblyDiscoverable attribute)