Remove extra space in file