Android remove line from text file

My app Yahrtzeit2 got new option – possibility to remove unneeded dates from the list.
For this purpose I added the following code:

The algorithm is very simple:
– read from source file
– while reading, write to destination file
– during this process find the matched line and skip it.
– remove old file
– new file rename to old one’s name.