pretty curl
add auto file sorting
use files[] in curl instead of incremental number