Code: Simplify AddFileToProject() method logic.