Addapted the file input test to the new polygon file format