Linking files in a better way