make sure files were entered