return an empty map instead of null if there is no entity file