making it add new files if needed