To use FileEntity, is there a generic console file type that I can install?
you can use the mime type application / octet-stream, since it is the base type for binary data, which I believe is also. I don’t think you should specify the mime type for FileEntity, since it does it automatically, I think