initialize prev file