remove the head space in file name.