Added delete file. Fix #210
Changed Linq expression to built in function