Fixed output of files