Parse template and CSV options.