added encoding to all files