catch error of improper file type
add specs to test improper files