BUG:fix a bug of template file download
ENH:modify gitignore to ignore upload/*