Test removing file