Function to check if a file has geo info