putting beta and theta files into directory