import pathlib
import stat
paths = pathlib.Path(".").glob("*")
files = filter(lambda p: stat.S_ISREG(p.stat().st_mode), paths)
path = min(files, key=lambda p: p.stat().st_ctime)
print(path, path.stat())
aW1wb3J0IHBhdGhsaWIKaW1wb3J0IHN0YXQKCgpwYXRocyA9IHBhdGhsaWIuUGF0aCgiLiIpLmdsb2IoIioiKQpmaWxlcyA9IGZpbHRlcihsYW1iZGEgcDogc3RhdC5TX0lTUkVHKHAuc3RhdCgpLnN0X21vZGUpLCBwYXRocykKcGF0aCA9IG1pbihmaWxlcywga2V5PWxhbWJkYSBwOiBwLnN0YXQoKS5zdF9jdGltZSkKcHJpbnQocGF0aCwgcGF0aC5zdGF0KCkp
prog os.stat_result(st_mode=33188, st_ino=17886255, st_dev=2307, st_nlink=1, st_uid=0, st_gid=110, st_size=509, st_atime=1466630530, st_mtime=1466630530, st_ctime=1466630530)