`postFile` config function is asynchronous