Created file for CTD related functions