I integrated code between add file page and pin pivot.