dynamic txt creation