Method do delete a file