Add config to files controller