add clear button and working on fileviewersize