Create the renderFile method #1