Fix encoding and clear screen for all files