Better url generation (with file size) and allowed roots moved to config.ini