Implement file out method

Add fileout_current_status
Add __update_fileout_line1

use isprocesschange to control