Automatically checks if the locality file contains a header line