+ implement "only_file" option