fix listing files