Removes unecessary files.