It is possible to reset a project file or even a library file to its original state.
In order to do that, you must first open the Project Panel on the left side of the screen. Next, right-click on the project/library file you wish to reset. Then, select the reset option from the dropdown. A warning will appear to let you know that any changes made to the file will be lost. If you are okay with that, click reset to continue.