remove index file from directory