Fixing HTTP file request