I wanted to have "limited inference" so that it would do the "expected behaviour" in obvious cases (like when the file is clearly json and not rust), but I don't want to get too fancy because there's always the explicitly option of defining what you'd like to do. If you specify some random file you'll find out real quick that it's not accepted anyway.