operate file