File upload format thanks to Adam