Fixed file upload and file serving