A few changes for the file template editing functionality