save covariate files as lists; clean up excess lines