Improved fixhttpfolder

Execute it just once for more than one file