when get_file is contained in template, the stack create/update/preview will fail due to No content found in the "files" section. So added handle get_file code. Change-Id: I6f125f9e5f3f53f630ab0d4f3f00631e6850e905 Closes-Bug: #1512564