Remove unnecessary spece of filename