process file for shine