added search file and input