removing fileB and adding newfile