Give the file object directly when parsing KML