not entirely sure why we're checking the filename at all... to catch empty form submi...