config file reading and ignoring added to .gitignore