Space on end of file removed