Moved responsibility of removing sourcefiles to subs.pl
Added new method to delete a sourcefile based on regex