Submit empty input file throw InvalidArgumentException

Signed-off-by: Mathieu Doyon <mathieu.doyon@studiofrenetic.com>