RR: added check for custom settings file.

Change-Id: If2ee5d0b07803979a8b9942db25b8381b6053d84