Refactor #9622 Refactor "Manage Files"

http://tracker.modx.com/issues/9622