switch storage file by time