Folders turned into files

Welcome to the community broadcast, have you tried to access the files from another Mac/PC to verify if the same problem happens?