implement find file mode