Fix for read only files on reader not being removed