added -ECI exception adn reverse filename check. fixes #332 # 385. Thanks @Prinz23