Added the file template editing functionality