Remove files and fix encoding