Now works with the entire in directory