Fix lookup_files