move variables to files