delete a file and change precomfile assets