Throw exception if file does not exist