remove unused classes and more deprecations
LibraryFile -> ResourceFile