correcting the spacing within the file