delete files and create tex