Open configuration file or function file