Config object from file to array