removed parent argument from dir.list_files