don't read a deleted file multiple times