Changes to use local files, if present.