removing spaces from filename