Fixed a bug on RemoveFile, Exec and HoldFile caused by use the same name method