Cleaning
Fixed encoding when dealing with files