Finish file simlation work