public virtual void setSource(string wholePath)
        {
            maxNumberOfPoints = getMaxNumberOfPointsFromFile(wholePath);
            observer.updatePointsNumberMessage();

            path       = wholePath.Substring(0, wholePath.LastIndexOf("\\"));
            sourceName = wholePath.Substring(wholePath.LastIndexOf("\\") + 1);
            observer.updateSourceNameLabel();
        }