Delete old data files
Small modification in ranking