test removing file from data