for location in locations:
            try:
                iso_time_t = int(os.path.getmtime(location))
                iso_time = datetime.datetime.utcfromtimestamp(iso_time_t).isoformat() + 'Z'
                break