Added InvalidFile Exception

with Test