rename pattern file to config file