Add file support to constants.