        sportsData = fc.readConfig(sessionFiles[f])
        searchTS = int(fc.datetime.datetime.strptime(searchString, "%Y-%m-%d").timestamp())*1000
        if sportsData["start_time"] >= searchTS:
            #print ("Your searchitem was found!")
            if searchData["ignoreGPSCheck"] == 0:
                if fc.checkfile(dataPath + "/" + configData["gpsFolder"] + fc.os.path.basename(sessionFiles[f])) == 1:
                    output.write(fc.os.path.basename(fc.os.path.splitext(sessionFiles[f])[0]) + "\n")
                    validFileCounter = validFileCounter + 1
                else:
                    #print("file ignored -- no gps data")
                    ignoredFileCounter = ignoredFileCounter + 1
            else:
                output.write(fc.os.path.basename(fc.os.path.splitext(sessionFiles[f])[0]) + "\n")
                validFileCounter = validFileCounter + 1
