Unreal, called the industry standard by many techbros, doesn't have a button to revert unsaved changes to files. You have to check it out in version control and then you can revert your changes.
Unreal... I didn't even change the file!! YOUU changed it without asking me. Just let me discard it for gods sake how hard is it to add a single button