removing space from target file