file exists test for getting diskcache