replacing the spacial characters from file name