Accessing a folder and files within wp-content

Hi, I was wondering if someone could help me I have a client file manager which stores all the files uploaded into the wp-content/clientfiles/ directory I have created that part is successful but when I try to download a file it gives me a ‘500 internal server error’.

Is there a way to prevent this so that anyone can access these files (there isn’t a need for security)?