Adding 'find-infiles' function