fixed bug in cosmic ray removal choice. Needed to remove old files if exist