To remove the file added to a project, select the file to be removed from the project on the project tree and then select [Remove from Project] from the context menu.
Figure 2.55
[Remove from Project] Item