added badinputfiletest