File upload debugging