added search file and input

fuk