Fix output of files