commandline options check
filename check