You will be able to use below function with some modification to fit your requirements:
def getnewestfile(NetworkPath):
DestFolder = os.getcwd()
os.chdir(NetworkPath)
filelist = os.listdir(os.getcwd())
filelist = filter(lambda x: not os.path.isdir(x), filelist)
newest = max(filelist, key=lambda x: os.stat(x).st_mtime)
os.chdir(DestFolder)
return newest
This function returns the newest file located at the network path as input.