fixed file name partially

Fixed file rename when quotes are encountered