fixed bug where file with cell name was being stripped more than once. also put the code to accept code name automatically