set max_bytes [parameter::get_from_package_key -package_key "file-storage" -parameter "MaximumFileSize"]
if{$n_bytes > $max_bytes }{
doc_return 507 "application/json""{success: false, message: \"File is larger than the maximum size ($max_bytes bytes) allowed on this server\"}"
doc_return 507 "application/json""{\"success\": false, \"message\": \"File is larger than the maximum size ($max_bytes bytes) allowed on this server\"}"