added check for if they have to many recent files