IMPROVED: sorted files by name