from now on every file extension have refresh<ext>() funct which implements code to be executed on browser side.