Check if settings file before paching it