Removed redundant check on no file input.