Do not inject empty files into entities