Can now supply a file of periods