add file input and rerun