put in version for api
put in 404 check in api
use filesizeformat