Added support for filename field to thumbnail