Added support to accept empty file field