Add more informative error message when trying to load a file without any features.