Fixes the bug when adding tweets but the file not existing.