linking files correctly.