Adding support for both coords file format