Possibility of cleaning Ghost unnecessary files?

Is it possible to delete every unnecessary (unused) file or get a report of which files are not in use?
I’m mainly talking about images here, but if there’s a way to clean unused files in the theme as css, js, json, etc, or maybe get a report that would be awesome.