make nav file reusable