finished functionality for finding correct course files