Rename lookup_file and fix a possible confuse for user