Remove leftover text after template
Update file model