rake task for generate file for checkpoint