adds file searching with proper textvariables