add snippet which dynamically creates <input type="file">