Side note: in the files tab, when you chose to remove a file, you are prompt with a question that most don't even read: "do you want to DELETE it from the files folder?"
If all you want is to remove the reference to the files in your project, so that they do not get packed along when compiling, then you should answer NO