add support for passing id to postFile