insert existed file automatically