Test removing a file